package com.bbzn.device.client.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.bbzn.device.client.dataobject.FireImage;
import com.bbzn.device.client.dao.index.FireImageMapper;
import com.bbzn.device.client.service.FireImageService;
@Service
public class FireImageServiceImpl implements FireImageService{

    @Resource
    private FireImageMapper fireImageMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return fireImageMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(FireImage record) {
        return fireImageMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(FireImage record) {
        return fireImageMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(FireImage record) {
        return fireImageMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(FireImage record) {
        return fireImageMapper.insertSelective(record);
    }

    @Override
    public FireImage selectByPrimaryKey(Long id) {
        return fireImageMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(FireImage record) {
        return fireImageMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(FireImage record) {
        return fireImageMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<FireImage> findByAll(FireImage fireImage) {
        return fireImageMapper.findByAll(fireImage);
    }

    @Override
    public int updateBatch(List<FireImage> list) {
        return fireImageMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<FireImage> list) {
        return fireImageMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<FireImage> list) {
        return fireImageMapper.batchInsert(list);
    }

    @Override
    public List<FireImage> findByUserIds(List<Long> userIds) {
        return fireImageMapper.findByUserIds(userIds);
    }

}
